module.exports = function encryptiondemo () {
    const crypto = require('crypto');
    
    const secret = 'abcdefg';
    const hash = crypto.createHmac('sha256', secret)
    .update('I love cupcakes')
    .update('I love cupcakes')
    .digest('hex');
    const hash1 = crypto.createHmac('sha256', secret)
    .update('I love cupcakesI love cupcakes')
    .digest('hex');
    console.log(hash);
    console.log(hash1);
}